<template>
  <div>
    <van-list
      :finished="finished"
      finished-text="没有更多了"
    >
      <van-cell @click="search(item)" v-for="(item,i) in list" :key="i" :title="item" />
    </van-list>
  </div>
</template>

<script>
export default {
  name: 'hotSearchList',
  props: ['list'],
  data () {
    return {
      finished: false
    }
  },
  methods: {
    search (item) {
      this.$emit('listSearch', item)
    }
  }
}
</script>

<style>
</style>
